﻿using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using static SOEI.Solution.AppCoreConst;

namespace SOEI.Solution.DomainEntities.CustomerManagement
{
    /// <summary>
    /// 卖方信息表
    /// </summary>
    public class Seller : AuditedEntity<long>
    {
        /// <summary>
        /// 产权人姓名
        /// </summary>
        [MaxLength(EntityLength.Length20)]
        public string Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [MaxLength(EntityLength.Length8)]
        public string Sex { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdNumber { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 房屋产权证号
        /// </summary>
        public string HouseTitleNumber { get; set; }
        /// <summary>
        /// 坐落
        /// </summary>
        [MaxLength(EntityLength.Length50)]
        public string HousingLocation { get; set; }
        /// <summary>
        /// 售价
        /// </summary>
        public string SellingPrice { get; set; }
        /// <summary>
        /// 房屋用途
        /// </summary>
        [MaxLength(EntityLength.Length128)]
        public string HousePurpose { get; set; }
        /// <summary>
        /// 房屋面积
        /// </summary>
        [MaxLength(EntityLength.Length128)]
        public string HouseArea { get; set; }
        /// <summary>
        /// 关注
        /// </summary>
        public string UserTag { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
